package org.goj.common.entity.management;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 消息列表
 * </p>
 *
 * @author CK
 * @since 2021-04-23
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class Mail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 消息ID
     */
    @TableId(value = "mail_id", type = IdType.AUTO)
    private Integer mailId;

    /**
     * 竞赛ID
     */
    private Integer contestId;

    /**
     * 管理员
     */
    private Integer adminUserId;

    /**
     * 普通用户
     */
    private Integer ordUserId;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 回复
     */
    private String answer;

    /**
     * 时间
     */
    private Date inDate;

    /**
     * 是否屏蔽
     */
    private String defunct;

    /**
     * 添加类型
     */
    private Integer type;


}
